home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / HyperCard / Cursor Utilities 1.0.1 / Cursor Utilities 1.0.1 / background_2781.xml next >
Extensible Markup Language  |  1993-08-10  |  7KB  |  202 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2781</id>
  5.     <filler1>0</filler1>
  6.     <cantDelete> <false /> </cantDelete>
  7.     <showPict> <true /> </showPict>
  8.     <dontSearch> <false /> </dontSearch>
  9.     <link rel="stylesheet" type="text/css" href="stylesheet_3160.css" />
  10.     <part>
  11.         <id>2</id>
  12.         <type>field</type>
  13.         <visible> <true /> </visible>
  14.         <dontWrap> <false /> </dontWrap>
  15.         <dontSearch> <false /> </dontSearch>
  16.         <sharedText> <false /> </sharedText>
  17.         <fixedLineHeight> <false /> </fixedLineHeight>
  18.         <autoTab> <false /> </autoTab>
  19.         <lockText> <true /> </lockText>
  20.         <rect>
  21.             <left>5</left>
  22.             <top>42</top>
  23.             <right>410</right>
  24.             <bottom>219</bottom>
  25.         </rect>
  26.         <style>opaque</style>
  27.         <autoSelect> <false /> </autoSelect>
  28.         <showLines> <false /> </showLines>
  29.         <wideMargins> <true /> </wideMargins>
  30.         <multipleLines> <false /> </multipleLines>
  31.         <reservedFamily> 0 </reservedFamily>
  32.         <titleWidth>0</titleWidth>
  33.         <icon>0</icon>
  34.         <textAlign>left</textAlign>
  35.         <font>Palatino</font>
  36.         <textSize>12</textSize>
  37.         <textStyle>plain</textStyle>
  38.         <textHeight>16</textHeight>
  39.         <name>Text</name>
  40.         <script></script>
  41.     </part>
  42.     <part>
  43.         <id>3</id>
  44.         <type>field</type>
  45.         <visible> <true /> </visible>
  46.         <dontWrap> <false /> </dontWrap>
  47.         <dontSearch> <false /> </dontSearch>
  48.         <sharedText> <false /> </sharedText>
  49.         <fixedLineHeight> <false /> </fixedLineHeight>
  50.         <autoTab> <false /> </autoTab>
  51.         <lockText> <true /> </lockText>
  52.         <rect>
  53.             <left>159</left>
  54.             <top>224</top>
  55.             <right>260</right>
  56.             <bottom>239</bottom>
  57.         </rect>
  58.         <style>opaque</style>
  59.         <autoSelect> <false /> </autoSelect>
  60.         <showLines> <false /> </showLines>
  61.         <wideMargins> <false /> </wideMargins>
  62.         <multipleLines> <false /> </multipleLines>
  63.         <reservedFamily> 0 </reservedFamily>
  64.         <titleWidth>0</titleWidth>
  65.         <icon>0</icon>
  66.         <textAlign>center</textAlign>
  67.         <font>Palatino</font>
  68.         <textSize>10</textSize>
  69.         <textStyle>plain</textStyle>
  70.         <textHeight>13</textHeight>
  71.         <name>Page</name>
  72.         <script></script>
  73.     </part>
  74.     <part>
  75.         <id>6</id>
  76.         <type>button</type>
  77.         <visible> <true /> </visible>
  78.         <reserved5> 0 </reserved5>
  79.         <reserved4> 0 </reserved4>
  80.         <reserved3> 0 </reserved3>
  81.         <reserved2> 0 </reserved2>
  82.         <reserved1> 0 </reserved1>
  83.         <enabled> <true /> </enabled>
  84.         <rect>
  85.             <left>395</left>
  86.             <top>219</top>
  87.             <right>416</right>
  88.             <bottom>240</bottom>
  89.         </rect>
  90.         <style>opaque</style>
  91.         <showName> <false /> </showName>
  92.         <highlight> <false /> </highlight>
  93.         <autoHighlight> <false /> </autoHighlight>
  94.         <sharedHighlight> <true /> </sharedHighlight>
  95.         <family>0</family>
  96.         <titleWidth>0</titleWidth>
  97.         <icon>8419</icon>
  98.         <textAlign>center</textAlign>
  99.         <font>Chicago</font>
  100.         <textSize>12</textSize>
  101.         <textStyle>plain</textStyle>
  102.         <name>Next</name>
  103.         <script>on mouseDownglobal curBgput the id of this bg into curBgsend mouseStillDown to meend mouseDownon mouseStillDownglobal curBgif the id of this bg is curBg thenvisual effect wipe leftif the id of this cd is the id of the last cd of this bg thengo cd "Intro"elsego next cardend ifend ifend mouseStillDown</script>
  104.     </part>
  105.     <part>
  106.         <id>8</id>
  107.         <type>button</type>
  108.         <visible> <true /> </visible>
  109.         <reserved5> 0 </reserved5>
  110.         <reserved4> 0 </reserved4>
  111.         <reserved3> 0 </reserved3>
  112.         <reserved2> 0 </reserved2>
  113.         <reserved1> 0 </reserved1>
  114.         <enabled> <true /> </enabled>
  115.         <rect>
  116.             <left>0</left>
  117.             <top>219</top>
  118.             <right>21</right>
  119.             <bottom>240</bottom>
  120.         </rect>
  121.         <style>opaque</style>
  122.         <showName> <false /> </showName>
  123.         <highlight> <false /> </highlight>
  124.         <autoHighlight> <false /> </autoHighlight>
  125.         <sharedHighlight> <true /> </sharedHighlight>
  126.         <family>0</family>
  127.         <titleWidth>0</titleWidth>
  128.         <icon>17779</icon>
  129.         <textAlign>center</textAlign>
  130.         <font>Chicago</font>
  131.         <textSize>12</textSize>
  132.         <textStyle>plain</textStyle>
  133.         <name>Prev</name>
  134.         <script>on mouseDownglobal curBgput the id of this bg into curBgsend mouseStillDown to meend mouseDownon mouseStillDownglobal curBgif the id of this bg is curBg thenvisual effect wipe rightif the id of this cd is the id of the first cd of this bg thengo first cdelsego prev cardend ifend ifend mouseStillDown</script>
  135.     </part>
  136.     <part>
  137.         <id>9</id>
  138.         <type>field</type>
  139.         <visible> <true /> </visible>
  140.         <dontWrap> <false /> </dontWrap>
  141.         <dontSearch> <false /> </dontSearch>
  142.         <sharedText> <false /> </sharedText>
  143.         <fixedLineHeight> <false /> </fixedLineHeight>
  144.         <autoTab> <false /> </autoTab>
  145.         <lockText> <true /> </lockText>
  146.         <rect>
  147.             <left>5</left>
  148.             <top>5</top>
  149.             <right>412</right>
  150.             <bottom>39</bottom>
  151.         </rect>
  152.         <style>shadow</style>
  153.         <autoSelect> <false /> </autoSelect>
  154.         <showLines> <false /> </showLines>
  155.         <wideMargins> <true /> </wideMargins>
  156.         <multipleLines> <false /> </multipleLines>
  157.         <reservedFamily> 0 </reservedFamily>
  158.         <titleWidth>0</titleWidth>
  159.         <icon>0</icon>
  160.         <textAlign>left</textAlign>
  161.         <font>Palatino</font>
  162.         <textSize>24</textSize>
  163.         <textStyle>bold</textStyle>
  164.         <textHeight>32</textHeight>
  165.         <name>Title</name>
  166.         <script>on mouseDownif the optionKey is downthenset the visible of bg btn "Lock" to not the visible of bg btn "Lock"end ifend mouseDown</script>
  167.     </part>
  168.     <part>
  169.         <id>10</id>
  170.         <type>button</type>
  171.         <visible> <false /> </visible>
  172.         <reserved5> 0 </reserved5>
  173.         <reserved4> 0 </reserved4>
  174.         <reserved3> 0 </reserved3>
  175.         <reserved2> 0 </reserved2>
  176.         <reserved1> 0 </reserved1>
  177.         <enabled> <true /> </enabled>
  178.         <rect>
  179.             <left>61</left>
  180.             <top>221</top>
  181.             <right>112</right>
  182.             <bottom>237</bottom>
  183.         </rect>
  184.         <style>checkbox</style>
  185.         <showName> <true /> </showName>
  186.         <highlight> <true /> </highlight>
  187.         <autoHighlight> <true /> </autoHighlight>
  188.         <sharedHighlight> <true /> </sharedHighlight>
  189.         <family>0</family>
  190.         <titleWidth>0</titleWidth>
  191.         <icon>0</icon>
  192.         <textAlign>center</textAlign>
  193.         <font>Chicago</font>
  194.         <textSize>12</textSize>
  195.         <textStyle>plain</textStyle>
  196.         <name>Lock</name>
  197.         <script>on mouseUpset the lockText of fld "Text" to the hilite of meset the lockText of fld "Title" to the hilite of meend mouseUp</script>
  198.     </part>
  199.     <name></name>
  200.     <script>on openCardput "Page" && (the number of this card - the number of the first cd of this bg + 1) ¬¨&& "of" && the number of cards in this bg into fld "Page"end openCardon arrowKey whichif which is "left" thensend mouseDown to bg btn "Prev"elseif which is "Right" thensend mouseDown to bg btn "Next"elsepass arrowKeyend ifend ifend arrowKeyon showScriptsif not the visible of cd fld "scripts" thenput empty into cd fld "scripts"repeat with i = 1 to number of cd btnsif the short name of cd btn i ‚↠"Show Scripts" thenset cursor to busyput the name of cd btn i & ":" & return & return ¬¨& the script of cd btn i & return & return after cd fld "scripts"end ifend repeatset the scroll of cd fld "scripts" to 0lock screenshow cd fld "scripts"if there is a cd btn "Show Scripts" thenset the name of cd btn "Show Scripts" to "Back To Examples"end ifunlock screen with iris openend ifend showScriptson hideScriptsif the visible of cd fld "scripts" thenlock screenput empty into cd fld "scripts"hide cd fld "scripts"if there is a cd btn "Back To Examples" thenset the name of cd btn "Back To Examples" to "Show Scripts"end ifunlock screen with iris closeend ifend hideScripts</script>
  201. </background>
  202.